package com.ruijiang.mapper.VmServiceMapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruijiang.dto.page.PageNameDto;
import com.ruijiang.entity.VmType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface VmTypeMapper extends BaseMapper<VmType> {


    @Select("select * from tb_vm_type where type_id = #{typeId}")
    VmType getByTypeId(Integer typeId);


    List<VmType> getPageList(PageNameDto dto);
}
